<template>
    <div class="app">
        <merchantHeader/>
        <div class="back">
            <div class="con">
              <div class="pxes"></div>
              <div class="listneo">
                <businessL/>
                <div class="conres">
                  <div class="ra"><h3>退款售后 </h3> </div>
                  <div class="yuansdj">
       
                  </div>
                  <div class="forms">
                    <el-form :model="ruleForm" :inline="true" :rules="rules" ref="ruleForm" label-width="140px" class="demo-ruleForm">
                      <el-form-item label="订单编号：">
                        <el-select v-model="ruleForm.region" placeholder="请选择包裹状态">
                          <el-option label="区域一" value="shanghai"></el-option>
                          <el-option label="区域二" value="beijing"></el-option>
                        </el-select>
                      </el-form-item>

                      <el-form-item label="卖家昵称：" >
                        <el-select v-model="ruleForm.name" style="width: 100%;">
                          <el-option label="区域一11" value="shangha11i"></el-option>
                          <el-option label="区域二11" value="beijing11"></el-option>
                        </el-select>
                      </el-form-item>

                      <el-form-item label="售后类型：" >
                        <el-select v-model="ruleForm.posin" style="width: 100%;">
                          <el-option label="区域一11" value="shangha11i"></el-option>
                          <el-option label="区域二11" value="beijing11"></el-option>
                        </el-select>
                      </el-form-item>

                      <el-form-item label="订单状态：" >
                        <el-select v-model="ruleForm.name" style="width: 100%;">
                          <el-option label="区域一11" value="shangha11i"></el-option>
                          <el-option label="区域二11" value="beijing11"></el-option>
                        </el-select>
                      </el-form-item>
                

                      <el-form-item label="运单号：" prop="bian">
                        <el-input v-model="ruleForm.bian" style="width: 100%;"></el-input>
                      </el-form-item>


                      <el-form-item style="margin-top: 70px;">
                        <el-button type="primary" @click="submitForm('ruleForm')">查询</el-button>
                        <el-button type="danger" @click="resetForm('ruleForm')">批量导出</el-button>
                      </el-form-item>
                    </el-form>
                  </div>
                  <div class="dzlist">
                    <div class="tat">查询结果<p>共查询到0条数据</p></div>
                    <el-table
                      :data="tableData"
                      border
                      :header-cell-style="{background:'#D6DCE1',color:'#2D405E'}" style="width: 873px;margin:15px auto">
                      <el-table-column
                        prop="numbering"
                        label="订单编号">
                      </el-table-column>
                      <el-table-column
                        prop="name"
                        label="卖家昵称"
                       >
                      </el-table-column>
                      <el-table-column
                        prop="sum"
                        label="交易金额"
                  
                        >
                      </el-table-column>
                      <el-table-column
                        prop="refund"
                        label="退款金额"
              
                        >
                      </el-table-column>
                      <el-table-column
                        prop="date"
                        label="申请时间"
               
                        >
                      </el-table-column>
                      <el-table-column
                        prop="state"
                        label="订单状态"
                        >
                      </el-table-column>
                      <el-table-column
                        prop="types"
                        label="售后类型"
                        >
                      </el-table-column>
                      <el-table-column
                        prop="coding"
                        label="退货运单号"
            
                        >
                      </el-table-column>
                      <el-table-column
                        label="操作"
                        >
                        <template>
                          <el-button @click="$router.push('/tousjb')" type="text" size="small">查看详情</el-button>
                          <el-button @click="$router.push('/bussTuik')" type="text" size="small">维权</el-button>
                        </template>
                      </el-table-column>
                      
                    </el-table>
                    <div class="feny">
                        <el-pagination
                          background
                          layout="prev, pager, next"
                          :total="1000"
                          style="margin-top: 5px;">
                        </el-pagination>
                        第<el-input size="mini" style="width: 50px;"></el-input>页
                        <button style="height: 28px;border-radius: 4px;background-color: #fff;border: 1px solid #DCDFE6;margin-top: 6px;background-color: #409EFF;color: #FFF;">跳转</button>
                      </div> 
                  </div>
                  <businessF/>
                </div>
              </div>
              
            </div>
        </div>
        <Footer/>
    </div>
</template>
<script>
import merchantHeader from '@/components/merchantHeader'
import Footer from '@/components/Footer'
import businessL from '@/components/businessL'
import businessF from '@/components/businessF'
export default {
    components: { 
    merchantHeader,
    Footer,
    businessL,
    businessF
    },
    data() {
      return {
        ruleForm: {
          name: '',
          posin:'',
          bian:'',
          region: '',
          desc: '',
          date1:''
        },
        rules: {
          name: [
            { required: true, message: '请输入您的姓名', trigger: 'blur' }
          ],
          posin : [
            { required: true, message: '请输入您的电话', trigger: 'blur' }
          ],
          desc: [
            { required: true, message: '请输入您的详细地址', trigger: 'blur' }
          ]
        },
        tableData: [{
          numbering:2020202022020202,
          name: '淘淘小淘气',
          sum:350,
          refund:300,
          date: '2016-05-02 10:14:16',
          state:"待处理",
          types:"退货退款",
          coding:96938934,
          },{
          numbering:2020202022020202,
          name: '淘淘小淘气',
          sum:350,
          refund:300,
          date: '2016-05-02 10:14:16',
          state:"待处理",
          types:"投诉举报",
          coding:96938934,
          },{
          numbering:2020202022020202,
          name: '淘淘小淘气',
          sum:350,
          refund:300,
          date: '2016-05-02 10:14:16',
          state:"待处理",
          types:"维权",
          coding:96938934,
          }]
      }
      
    },
    methods: {
      submitForm(formName) {
        this.$refs[formName].validate((valid) => {
          if (valid) {
            alert('submit!');
          } else {
            console.log('error submit!!');
            return false;
          }
        });
      },
      resetForm(formName) {
        this.$refs[formName].resetFields();
      }
    },
}
</script>
<style scoped>
.app  /deep/  .ist_l .ist_c li:nth-child(1) {
    background-color: #ff9381;
    width: 126px;
    height: 50px;
    display: block;
}


.back {
    background-color: #f06048
}  
.pxes {
  height: 15px;
}
.back .con {
  width: 1200px;
  margin: 0 auto;
  background-color: #eee
} 
.listneo {
  width: 1161px;
  margin: 0px auto;
  display: flex;
  justify-content: space-between;
}
.conres {
  width: 902px;
  border-radius: 6px;
  background-color: #fff
}
.conres .ra h3{
  font-size: 20px;
  color: #f06048;
  padding-left: 14px;
  border-bottom: 1px solid #cecece;
  margin-top: 15px;
  padding-bottom: 10px;
}

.shejh {
  display: flex;
  margin-left: 20px;
  margin-top: 15px;
  line-height: 20px;
}
.shejh div:nth-child(1) {
  font-size: 20px;

}
.shejh div:nth-child(2) {
  font-size: 14px;
  margin-left: 40px;
}
.wdmewdefme {
  display: flex
}
.mubiao {
  display: flex;
  margin-left: 20px;
  margin-top: 40px;
}
.toefmn_wk {
  margin-right: 12px;
}
.toefmn_wk span{
  display: block;
}
.toefmn_wk .ene {
  color: #f06048
}
.one_mw {
  display: flex;
}
.wnwe_wdnn .ee_q {
  margin-top: 20px;
}
.wnwe_wdnn .ee_q h5 {
  font-size: 18px
}
.wnwe_wdnn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  width: 300px;
}
.top_o2 {
  font-size: 18px;
  line-height: 20px;
  margin-left: 20px;
  margin-top: 25px;
  display: flex;
}
.ower_to {
  width: 873px;
	height: 141px;
	border: solid 1px #a0a0a0;
  margin: 10px auto;
  display: flex;
  text-align: center;
  line-height: 45px;
}
.ower_to h4 {
  font-size: 18px
}
.jaoyishuj {
  margin-bottom: 35px;
}
.errror .hekome1 {
  width: 20%;
  border-right: 1px solid #a0a0a0;
}
.hekome2 {
  text-align: center;
  margin-left: 20px;
}
.list_org {
  height: 40px;
}
.yuansdj {
  display: flex;
  border-bottom: 6px solid #fff;
}

.forms {
  margin-top: 20px;
}
.dzlist .tat {
  display: flex;
  font-size: 18px;
  margin-top: 10px;
  margin-left: 20px;
  margin-bottom: 10px;
}
.feny{
  display: flex;
  line-height: 40px;
  justify-content: center;
  width: 70%;
  margin: 0 auto;
}
</style>